ChatElement

abstract class ChatElement : ElementModel

The base type for all chat elements in a conversation.

A ChatElement represents a single item in the chat timeline — a message, file, system event, carousel, quick reply, or scheduling picker. The SDK delivers instances of concrete subclasses through ChatEventListener.onChatElementReceived.

Subclasses:

Inheritors

Properties

Link copied to clipboard
open override var id: String

Unique identifier of the element.

Link copied to clipboard
open override var text: String

The text content of the element.

Link copied to clipboard
open override var timestamp: Long

Time the element was created, in milliseconds since the epoch.